package com.hello.sky.controller.admin;

import com.hello.sky.model.entity.AddressBook;
import com.hello.sky.service.AddressBookService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 地址簿 前端控制器
 * </p>
 *
 * @author D
 */
@Slf4j
@RestController
@RequestMapping("addressBook")
public class AddressBookController {

    @Autowired
    private AddressBookService  addressBookService;

    @GetMapping
    public AddressBook get(){
        return new AddressBook();
    }
}
